<!doctype html>
<html>
<head>
</head>
<body>
<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
?>

<!-- JavaScript -->
<script type="text/javascript" src="<?= base_url() ?>js/wufoo.js"></script>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?= base_url() ?>css/form/form.css" media="screen, tv, projection" title="Default" />
<link rel="stylesheet" type="text/css" href="<?= base_url() ?>css/chosen.css" media="screen, tv, projection" title="Default" />


<div id="container">
    <?php
    //Setting Awal Value Jika Prosedur yang dilakukan adalah prosedur input biasa.
    $url = "";
    $reqId = "";

    $value = array(
        'arsip_id'       => "",
        'error'             => "",
        'legend'            => "",
        'info'              => "",
        'act_form'          => "scan/input_scan/".$file_id

    );
    
    /*//Setting Value pada form Jika melakukan prosedur Edit terhadap data tertentu.
    if($status == "edit"){
        foreach($repositori->result() as $row){
            $value['arsip_id'] = $row->IDFILEPDF;
        }
        $value['legend'] = "Form Edit Arsip";
        $value['info'] = "Form Edit Data Arsip";
        $value['act_form'] = "arsip/edit_arsip/".$value['arsip_id'];
    }//end if*/
    
    ?>
    <?php /*= form_open_multipart($value["act_form"],'class="wufoo" name="form_scan"'); */?>
<fieldset class="fieldset">
    <legend class="legend">
        <?= $value["legend"] ?>
    </legend>
    
    <div class="info">
        <div><?= $value["info"] ?></div>
    </div>
    <div>
        <?= anchor(site_url('scan/scan/'.$file_id),img(array('src'=>'images/main/38.png','border'=>'0','alt'=>'')).'Kembali ke daftar attachment','Menampilkan halaman Daftar Arsip'); ?>
    </div>
 <!-- Konten -------------------------------------------------------------------------->
 <div id="contentform">
    <!-- <ul> -->
        <!-- <div id="content" style="height:auto; margin-top:-4px; width:100%"> -->
        <!-- <div class="content" style="height:100%; width:100%;overflow:hidden; overflow:-x:hidden; overflow-y:auto; position:fixed;"> -->
          <applet code="uk.co.mmscomputing.application.imageviewer.MainApp.class" archive="<?= base_url() ?>assets/scanner/imageviewer/imageviewer.jar" width="100%" height="100%">
              <param name="upload_url" value="<?= site_url() ?>/scan/insert_scan/<?= $file_id?>?reqId=<?= $reqId?>" />
              <param name="surat_id" value="4" />
              <param name="no_urut" value="" />
              <param name="enableButton" value="true" />
          </applet>
        <!-- </div> -->
        <!-- </div> -->
                
        <!-- <li class="buttons"> -->
          <!-- <input id="saveForm" class="btTxt" type="submit" value="Simpan" /> -->
          <!-- <input id="saveForm" class="btTxt" type="submit" value="Scan" /> -->
          <!-- <input name="submit" type="reset" value="Batal" /> -->
       <!--  </li>
    </ul> -->
</div> <!--contentform-->
</fieldset>
<?php /*= form_close();*/ ?>
</form>
</div><!--container-->
</body>
</html>